ISearch.AddSearchResult (object, string) method

Namespace: NextDesign.Core

Description

Register the search results.

If you want to handle information other than the model as search results, you can register with this method.

argument

Name Type Description
item object Object that hit the search condition

null cannot be specified.

Note)
You can specify any object, but in the search result list, the string representation of this object is displayed. Therefore, it is recommended to implement ToString () on the specified object.
message string message

Return value

Exception

Name Exception Class Description
Invalid argument ExtensionArgumentException If null is specified for item